package com.hex.ds.hdtp.core.app.common.page.converter;

import com.hex.ds.hdtp.core.app.common.page.dto.PageDto;
import com.hex.ds.hdtp.core.inf.common.page.Page;
import org.mapstruct.Mapper;

/**
 * @Package: package com.test.satoken.simple.common.page.converter
 * @ClassName PageDoAndDtoConverter
 * @Description: IPage And PageDto 转换器
 * @Author: sy.dong
 * @Date 2022-01-04 12:00:52
 * @Version
 **/

@Mapper(componentModel = "spring")
public interface IPageAndPageDtoConverter {

    PageDto toPageDto(Page po);

    Page toPage(PageDto dto);

}


